// arrow_fill_cc.h
#include <arrow/api.h>

typedef struct CxxArrowArray{
    int64_t len_null_bitmap;
    const uint8_t*  null_bitmap;
    
    int64_t len_data;
    const uint8_t* data;

    int64_t rows;
    // std::shared_ptr<arrow::DataType> type;
    int type;

    std::shared_ptr<arrow::Array> int_array;
};

struct CxxArrowArray cxx_fill_ints(bool withNulls);

void freeArrayPointer();

